using RpgXna.Model.Entities;
using RpgXna.Model.Entities.MainCharacter;
using RpgXna.Model.Interfaces.ContextMenu.InteractionBehaviors;
using RpgXna.Model.Menu.MenuBehaviors;

namespace RpgXna.Model.Interfaces.ContextMenu
{
    public class CmiFactory
    {
        public IContextMenuBehavior Pickup(PickableObject o, Inventory.Inventory inv, EnvironmentRepository e)
        {
            return new PickUpItemContextMenuBehavior(o, inv, e);
        }

        public IContextMenuBehavior Drop(PickableObject o, Inventory.Inventory i, EnvironmentRepository e, Character c)
        {
            return new DropContextMenuItem(o, i, e, c);
        }
        public IContextMenuBehavior Leave()
        {
            return new LeaveContextMenuItem();
        }
    }
}